package com.lst.dao;


import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.lst.model.ClientAnswer;

public interface ClientAnswerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ClientAnswer record);

    int insertSelective(ClientAnswer record);
    
    ClientAnswer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ClientAnswer record);

    int updateByPrimaryKey(ClientAnswer record);

	/**
	 * 
	 * @Title: insertlist
	 * @Description: 批量插入
	 * @param @param record
	 * @param @return    设定文件
	 * @return void    返回类型
	 * @throws
	 */
    void insertlist(List<ClientAnswer> record);
    /**
	 * 
	 * @Title: deleteByUserId
	 * @Description: 批量删除
	 * @param @param id
	 * @param @return    设定文件
	 * @return int    返回类型
	 * @throws
	 */
    int deleteByUserId(@Param(value="id") Integer id);
    /**
   	 * 
   	 * @Title: queryByList
   	 * @Description: 数据集
   	 * @param @param map 
   	 * @param @param pageBounds
   	 * @return List<ClientAnswer>    返回类型
   	 * @throws
   	 */
    List<ClientAnswer> queryByList(Map<String, Object> map , PageBounds pageBounds);
    
}